package cn.yuxiaoyuan.article.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Article {
    private Long id;
    private String articlePic;
    private String articleName;
    private String articleTag;
    private Long   articleType;
    private Integer articleState;
    private Integer topState;
    private Long   publishId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date   createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date   updateTime;
    private Integer articleReadCount;
    private Integer articleStarNum;
    private Integer articleCommentNum;
    private String articleRemark;
    private String articleContent;

    private String userName;
    private String typeName;

}
